/**
 * @date 2006-8-2 9:17:01
 *
 */
package org.nanhill.moo.domain;

/**
 * User & tag mapping.
 * 
 * @author alin [xalinx at gmail dot com]
 * 
 */
public class UserTag {
	private long id;

	private User user;

	private Tag tag;

	public UserTag() {
	}

	public UserTag(User user, Tag tag) {
		this.user = user;
		this.tag = tag;
	}

	public Tag getTag() {
		return tag;
	}

	public void setTag(Tag tag) {
		this.tag = tag;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public long getId() {
		return id;
	}

	void setId(long id) {
		this.id = id;
	}

}
